projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b80e458
)
x86: be more power-efficient when waiting forever
author
Andrew Cooper
<andrew.cooper3@citrix.com>
Tue, 3 Dec 2013 08:54:12 +0000
(09:54 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 3 Dec 2013 08:54:12 +0000
(09:54 +0100)
The effect is unchanged, but the processor will be spending most of its time
in the C1 or C1E power state rather than C0.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/traps.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/traps.c
b/xen/arch/x86/traps.c
index d8b3eac15a8525149a9b17cc1174b0dbb9371acb..8c355e547c985d21b4fad5bcb1b1b77b60ba790c 100644
(file)
--- a/
xen/arch/x86/traps.c
+++ b/
xen/arch/x86/traps.c
@@
-1448,7
+1448,8
@@
void __init do_early_page_fault(struct cpu_user_regs *regs)
printk("Stack dump: ");
while ( ((long)stk & ((PAGE_SIZE - 1) & ~(BYTES_PER_LONG - 1))) != 0 )
printk("%p ", _p(*stk++));
- for ( ; ; ) ;
+ for ( ; ; )
+ halt();
}
}